ComponentOne Xamarin.Android
LoadAsync Method (C1SelectCollectionView<S,T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1SelectCollectionView<S,T> Class : LoadAsync Method
The starting index, if not specified this will be 0.
The starting index, if not specified this will be Count.
Load the items between the specified indexes.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1SelectCollectionView`2/d__11)> 
Public Overrides Function LoadAsync( _ 
   Optional ByVal fromIndex As Nullable(Of Integer), _ 
   Optional ByVal toIndex As Nullable(Of Integer), _ 
   Optional ByVal cancellationToken As CancellationToken _ 
) As Task
'Usage
 
Dim instance As C1SelectCollectionView(Of S,T)
Dim fromIndex As Nullable(Of Integer)
Dim toIndex As Nullable(Of Integer)
Dim cancellationToken As CancellationToken
Dim value As Task
 
value = instance.LoadAsync(fromIndex, toIndex, cancellationToken)
[AsyncStateMachine(C1.CollectionView.C1SelectCollectionView`2/d__11)] 
public override Task LoadAsync( 
   Nullable<int> fromIndex, 
   Nullable<int> toIndex, 
   CancellationToken cancellationToken 
)

Parameters

fromIndex
The starting index, if not specified this will be 0.
toIndex
The starting index, if not specified this will be Count.
cancellationToken
See Also

Reference

C1SelectCollectionView<S,T> Class
C1SelectCollectionView<S,T> Members